package com.xiyu.service.vo.health.medicineRegister;

import com.xiyu.service.vo.health.medicine.baseVO.HealthMedicineRegisterBase;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import org.hibernate.validator.constraints.Length;
import jakarta.validation.Valid;
import com.xiyu.service.enums.common.CommonStatusEnum;
import com.xiyu.service.framework.validation.InEnum;
import java.math.BigDecimal;

@Schema(description = "临时用药登记")
@Data
public class MedicineRegisterTemporaryCreateInput extends HealthMedicineRegisterBase {

    @Schema(description = "用药数量")
    @Digits(integer = 13, fraction = 4, message = "用药数量格式无效")
    @Positive(message = "用药数量必须大于0")
    @NotNull(message = "用药数量不能为空")
    private BigDecimal useNumber;

}